package com.bootdo.ztzb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.ztzb.dao.ZtzbProcessDao;
import com.bootdo.ztzb.domain.ZtzbProcessDO;
import com.bootdo.ztzb.service.ZtzbProcessService;



@Service
public class ZtzbProcessServiceImpl implements ZtzbProcessService {
	@Autowired
	private ZtzbProcessDao ztzbProcessDao;
	
	@Override
	public ZtzbProcessDO get(Long id){
		return ztzbProcessDao.get(id);
	}
	
	@Override
	public List<ZtzbProcessDO> list(Map<String, Object> map){
		return ztzbProcessDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ztzbProcessDao.count(map);
	}
	
	@Override
	public int save(ZtzbProcessDO ztzbProcess){
		return ztzbProcessDao.save(ztzbProcess);
	}
	
	@Override
	public int update(ZtzbProcessDO ztzbProcess){
		return ztzbProcessDao.update(ztzbProcess);
	}
	
	@Override
	public int remove(Long id){
		return ztzbProcessDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return ztzbProcessDao.batchRemove(ids);
	}
	
}
